*{
    margin:0;
    padding:0;
}

.div-1{
    background-color:pink;
    width: 100px;
    height: 150px;
    position:relative;
    margin:0 auto;

}

.div-2{
    background-color:yellow;
    width: 20px;
    height: 150px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -75px;
}

.div-3{
    background-color:green;
    width: 100px;
    height: 21px;
    position: absolute;
    top: 61px;
}

.abc{
    display:table;
    width: 200px;
    height: 150px;
    background-color:pink;
}
.ab{
    display:table-cell;
    vertical-align:middle;
    text-align:center;
}

td{
    width:100px;
    height: 50px;
    background-color:yellow;
}
table{
    background-color:lightblue;
}
.div-12{
    background-color:yellow;
    font-size:28px;
    color:blue;
}